
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import axios from 'axios'
Vue.prototype.$axios = axios
Vue.config.productionTip = false
import store from './store' // store
Vue.prototype.$store = store

App.mpType = 'app'
// 过滤器 -时间
import moment from 'moment'
Vue.prototype.$moment = moment
Vue.filter("timeFormat", function (value) {
  if (!value) return "";
  value = value.toString();
  return moment(value).format("YYYY-MM-DD HH:mm:ss");
});
import uView from "@/uni_modules/uview-ui";
Vue.use(uView);
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif